package com.liufei.demo.dao;

import com.liufei.demo.model.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author liufei
 * @version 1.0.0
 * @description
 * @date 2023/1/15
 */
@Mapper
public interface UserMapper {

    @Select("select id, username, age from user")
    List<User> query();
}
